package net.wofly.sale.report.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 *
 * @author siqingwei
 * @date 2018/4/22
 */
@Getter
@Setter
public class OrderDTO {
    private String orderID;
    @ApiModelProperty(value = "订单编号")
    private String orderNo;
    @ApiModelProperty(value = "订单所属客户")
    private String customerUserID;
    @ApiModelProperty(value = "订单所属客户名称")
    private String customerUserName;
    @ApiModelProperty(value = "商品名称和数量列表")
    List<OrderContentDTO> orderContentDTOList;
    @ApiModelProperty(value = "实收")
    private Double realPrice;
    @ApiModelProperty(value = "订单类型是否白条")
    private String isWhiteBar;
    @ApiModelProperty(value = "赠品列表")
    private List<GiftDTO> giftDTOList;

    @Override
    public String toString() {
        return "OrderDTO{" +
                "orderID='" + orderID + '\'' +
                ", customerUserID='" + customerUserID + '\'' +
                ", customerUserName='" + customerUserName + '\'' +
                ", orderContentDTOList=" + orderContentDTOList +
                ", realPrice=" + realPrice +
                ", isWhiteBar='" + isWhiteBar + '\'' +
                ", giftDTOList=" + giftDTOList +
                '}';
    }
}
